package com.sinosoft.jwjw.component.mapper.system;

import com.sinosoft.jwjw.base.BaseCrudMapper;
import com.sinosoft.jwjw.component.model.system.SDataDictionaryCode;
import net.sf.json.JSONArray;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface SDataDictionaryCodeMapper extends BaseCrudMapper<SDataDictionaryCode,String> {


    /**
     * 通过有效性查询出所有的
     * @param paramsMap
     * @return
     */
    List<SDataDictionaryCode> queryAll(Map<String,Object> paramsMap);


    JSONArray pageQueryDictionNaryList(String id);
}